package model

type CouponsInfo struct {
	Id              int     `gorm:"column:id"`
	MoneyMin        float64 `gorm:"column:moneyMin"`
	MoneyMax        float64 `gorm:"column:moneyMax"`
	MoneyHreshold   float64 `gorm:"column:moneyHreshold"`
	DateAdd         string  `gorm:"column:dateAdd"`
	DateEndDays     int64   `gorm:"column:dateEndDays"`
	NeedScore       int     `gorm:"column:needScore"`
	NumberPersonMax int     `gorm:"column:numberPersonMax"`
	NumberTotle     int     `gorm:"column:numberTotle"`
	NumberUsed      int     `gorm:"column:numberUsed"`
	Status          int     `gorm:"column:status"`
	Name            string  `gorm:"column:name"`
	ShopId          int     `gorm:"column:shopId"`
}
type MyCouponsInfo struct {
	Id            int     `gorm:"column:id"`
	DateAdd       string  `gorm:"column:dateAdd"`
	Name          string  `gorm:"column:name"`
	Money         float64 `gorm:"column:money"`
	MoneyHreshold float64 `gorm:"column:moneyHreshold"`
	Uid           int     `gorm:"column:uid"`
	DateEnd       string  `gorm:"column:dateEnd"`
	Status        int     `gorm:"column:status"`
	CouponsId     int     `gorm:"column:coupons_id"`
	ShopId        int     `gorm:"column:shopId"`
}
